package IO;

import java.io.File;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86185
 * Date: 2023-11-27
 * Time: 17:23
 */
public class Demo4 {
    public static void main(String[] args) {
//        File file = new File("./testDir");
//        file.mkdir();
//        System.out.println(file.exists());
//        System.out.println(file.isDirectory());

        File file1 = new File("./testDir/aaa/bbb/ccc");
        file1.mkdirs();
        System.out.println(file1.exists());
        System.out.println(file1.isDirectory());
    }
}
